package com.controller;

import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;



@RestController
public class Controller {
	
	@RequestMapping("/")
	public ModelAndView index() {
		return new ModelAndView("index");
	}	
	 
	@RequestMapping("/login")
	public ModelAndView login() {		
		return new ModelAndView("login");
	}
	 
	@RequestMapping("/welcome")
	public ModelAndView welcome() {
		return new ModelAndView("welcome");
	}
}
